<!DOCTYPE HTML>
<html style="background: #f3f3f3;">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>签约网</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/lawyer.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="../script/mobile.js"></script>
    <script type="text/javascript" src="../script/lawyer.js"></script>
</head>
<body>
<div id="secHeader">
  <header class="header">
      <a href="javascript:void(0);" onclick="api.closeWin()" class="back_btn"><img src="../image/head-fanhui.png" alt=""></a>
      <h2>案由解析</h2>
      <!-- <a href="javascript:void (0);" class="search_btn"><img src="../image/search.png" alt=""></a> -->
  </header>
</div>

<section class="case_analysis">
    <div class="analysis_list">
        <ul id='con'>


        </ul>
    </div>
</section>


</body>

<script>
      apiready = function () {
        $api.fixStatusBar( $api.dom('#secHeader') );
      api.setStatusBarStyle({
          style: 'light'
      });



        cate()
    };

     function cate(){
        var p={type:121};
        api.ajax({
            url: webSiteUrl+'/app/public/cate',
            method: 'post',
            data: {
                values:p

            }
        }, function(ret, err) {
            api.hideProgress();

            if(ret.code==200){

               var tj=ret.data;



                html = "";
                for(var i=0;i<tj.length;i++){


html+='<li><a href="javascript:;" onclick="anyoulist('+tj[i].id+')">'+tj[i].title+'</a></li>';


                }
                $('#con').html(html);



            }else{alert(ret.msg)}
        });

    }
    function anyoulist(type){
        api.openWin({
            name: 'anyoulist',
            url: './anyoulist.html',
            reload:true,
            pageParam: {
                type:type
            }
        });
    }

</script>
</html>
